package cn.zwk.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;

@Data
public abstract class TreeVo<T> {
    private Long id;
    private Long parentId;

    @TableField(exist = false)
    private List<T> children = new ArrayList<>();
}
